package com.dnake.entity;

/**
 * 开门记录
 * Created by haoyuliu on 2016/12/19.
 */

public class OpenHistoryBean {
    private String entranceDeviceId;//:设备id
    private String roomNo;//:访问房间号
    private String type;//:访问类型:0.呼叫 1.刷卡 2.密码 3 手机
    private String result;//:访问结果:0.未接听 1.已接听
    private String unlockSuccess;//:是否开 成功:0.否 1.是
    private String duration;//:通话时 ，单位秒
    private String unlockTime;//:开门 时间
    private String snapshot;//:截图
    private String userId;//用户id

    public String getVirtualTel() {
        return virtualTel;
    }

    public void setVirtualTel(String virtualTel) {
        this.virtualTel = virtualTel;
    }

    private String virtualTel;//落地电话号码

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    private String cardNo;//用户id

    @Override
    public String toString() {
        return "OpenHistoryBean{" +
                "entranceDeviceId='" + entranceDeviceId + '\'' +
                ", roomNo='" + roomNo + '\'' +
                ", type='" + type + '\'' +
                ", result='" + result + '\'' +
                ", unlockSuccess='" + unlockSuccess + '\'' +
                ", duration='" + duration + '\'' +
                ", unlockTime='" + unlockTime + '\'' +
                ", snapshot='" + snapshot + '\'' +
                ", userId='" + userId + '\'' +
                ", virtualTel='" + virtualTel + '\'' +
                ", cardNo='" + cardNo + '\'' +
                '}';
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getEntranceDeviceId() {
        return entranceDeviceId;
    }

    public void setEntranceDeviceId(String entranceDeviceId) {
        this.entranceDeviceId = entranceDeviceId;
    }

    public String getRoomNo() {
        return roomNo;
    }

    public void setRoomNo(String roomNo) {
        this.roomNo = roomNo;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public String getUnlockSuccess() {
        return unlockSuccess;
    }

    public void setUnlockSuccess(String unlockSuccess) {
        this.unlockSuccess = unlockSuccess;
    }

    public String getDuration() {
        return duration;
    }

    public void setDuration(String duration) {
        this.duration = duration;
    }

    public String getUnlockTime() {
        return unlockTime;
    }

    public void setUnlockTime(String unlockTime) {
        this.unlockTime = unlockTime;
    }

    public String getSnapshot() {
        return snapshot;
    }

    public void setSnapshot(String snapshot) {
        this.snapshot = snapshot;
    }
}
